From feb0b7df44f1b63983e87810741162009a699d32 Mon Sep 17 00:00:00 2001 From: Gleb Kozyrev Date: Fri, 9 Oct 2015 17:43:12 +0300 Subject: [PATCH] Use the more portable `find -perm` syntax This is an improvement of fd781a12 adopted by rustc in https://github.com/rust-lang/rust/commit/f001f9a7 See also #822 --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index db8ccb65f..bec356904 100644 --- a/Makefile.in +++ b/Makefile.in @@ -105,7 +105,8 @@ style: sh tests/check-style.sh no-exes: - find $$(git ls-files) -perm +a+x -type f \ + find $$(git ls-files) -type f \ + \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ -not -name configure -not -name '*.sh' -not -name '*.rs' \ -not -wholename "*/rust-installer/*" | \ grep '.*' \ -- 2.30.2